home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
general
/
modelers
/
geomview
/
source.lha
/
Geomview
/
src
/
bin
/
warp
/
sgi
/
O.sgi
/
Makefile
< prev
next >
Wrap
Makefile
|
1993-02-10
|
760b
|
33 lines
GEOM = ../../../../..
include ${GEOM}/makefiles/Makedefs.global
include ../Makedefs
include ../../common/Makedefs.common
LIBS = -L${GEOM}/lib/${MACHTYPE} -lpointlist ${ALLOOGLLIBS} \
-lformsx -lforms -lfm_s -lgl_s -lm -lmalloc
all: ${TARGETS}
clang.c: ${COMMON_SRCS}
@${GEOM}/tools/lisp2c -cprefic "lisp_" -o ../../common/clang ${COMMON_SRCS}
${COMMON_OBJS}:
rm -f $@ ${@:o=c}
ln ../../common/${@:o=c} .
${CC} ${CFLAGS} -c ${@:o=c}
warp: ${COMMON_OBJS} ${OBJS}
/bin/rm -f ../warp || :
${CC} ${CFLAGS} -o warp ${OBJS} ${COMMON_OBJS} ${LIBS}
ln warp ..
install: install_module
install_module: warp
${INSTALLMODULE} warp ../.geomview-warp ${MODULEDIR}
cp ../../common/unitcube.off ${GEOM}/data/geom
include ${GEOM}/makefiles/Makerules.obj